package com.edu.entity;

public class address {
	 /**
     * 地址ID（主键）
     */
    private Integer addressid;

    /**
     * 用户ID
     */
    private Integer userid;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 区县
     */
    private String site;

    /**
     * 详细地址
     */
    private String other;

    /**
     * 是否默认地址（0-否 1-是）
     */
    private String name;
    private String phoneNum;
    
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}


	private Boolean def;

	public Integer getAddressid() {
		return addressid;
	}

	public void setAddressid(Integer addressid) {
		this.addressid = addressid;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}

	public String getOther() {
		return other;
	}

	public void setOther(String other) {
		this.other = other;
	}

	public Boolean getDef() {
		return def;
	}

	public void setDef(Boolean def) {
		this.def = def;
	}

	@Override
	public String toString() {
		return "address [addressid=" + addressid + ", userid=" + userid + ", province=" + province + ", city=" + city
				+ ", site=" + site + ", other=" + other + ", def=" + def + "]";
	}
    
}
